<!--
 * @Author: 鱿鱼溪学院
 * @Date: 2024-08-08 02:24:00
 * @LastEditTime: 2024-09-11 00:35:47
 * @LastEditors: 鱿鱼溪学院
 * @Description: 
 * @FilePath: \yyx_admin\src\views\home\index.vue
 * Copyright 鱿鱼溪学院 by edu v1.0
 * 天道酬勤
-->
<template>
  <div>{{ userStore.userInfo.username }}</div>
</template>

<script setup lang="ts">
//引入组合式API函数之生命周期函数

import useUserStore from '@/store/modules/user2'
let userStore = useUserStore()

import { onMounted } from 'vue'

//import { useUserStore } from '@/store/modules/user3'

//目前首页挂载完毕发请求获取用户信息
onMounted(async () => {
})
</script>

<style scoped></style>
